systemBits = new Array();
captureBits = new Array();
vendorBits = new Array();
fileinfoBits = new Array();

function bitArray(sparam, param, bit)
{
	this.sparam = sparam;
	this.param = param;
	this.bit = bit;
	
	return this;
}

// used in GetCameraStatus()
systemBits[1] = new bitArray('"edla"','edla','0x80000000' );
systemBits[2] = new bitArray('"ed2a"','ed2a','0x40000000' );
systemBits[3] = new bitArray('"ramda"','ramda','0x20000000' );
systemBits[4] = new bitArray('"ipip"','ipip','0x10000000' );
systemBits[5] = new bitArray('"memf"','memf','0x08000000' );
systemBits[6] = new bitArray('"pwra"','pwra','0x04000000' );
systemBits[7] = new bitArray('"flsc"','flsc','0x02000000' );
systemBits[8] = new bitArray('"trun"','trun','0x01000000' );
systemBits[9] = new bitArray('"stst"','stst','0x00800000' );
systemBits[10] = new bitArray('"stsc"','stsc','0x00400000' );
systemBits[11] = new bitArray('"cerr"','cerr','0x00200000' );
systemBits[12] = new bitArray('"mcro"','mcro','0x00100000' );
systemBits[13] = new bitArray('"sbs1"','sbs1','0x00080000' );
systemBits[14] = new bitArray('"sbs2"','sbs2','0x00040000' );
systemBits[15] = new bitArray('"zoom"','zoom','0x00020000' );
systemBits[16] = new bitArray('"extp"','extp','0x00010000' );
systemBits[17] = new bitArray('"edch"','edch','0x00008000' );


captureBits[1] = new bitArray('"camr"','camr','0x80000000' );
captureBits[2] = new bitArray('"strc"','strc','0x40000000' );
captureBits[3] = new bitArray('"strr"','strr','0x20000000' );
captureBits[4] = new bitArray('"shkw"','shkw','0x10000000' );
captureBits[5] = new bitArray('"focl"','focl','0x08000000' );
captureBits[6] = new bitArray('"expl"','expl','0x04000000' );
captureBits[7] = new bitArray('"oexp"','oexp','0x02000000' );
captureBits[8] = new bitArray('"uexp"','uexp','0x01000000' );
captureBits[9] = new bitArray('"stfa"','stfa','0x00800000' );
captureBits[10] = new bitArray('"stcl"','stcl','0x00400000' );

vendorBits[1] = new bitArray('"hed1"','hed1','0x80000000' );
vendorBits[2] = new bitArray('"hed2"','hed2','0x40000000' );
vendorBits[3] = new bitArray('"hrmd"','hrmd','0x20000000' );
vendorBits[4] = new bitArray('"stdc"','stdc','0x10000000' );
vendorBits[5] = new bitArray('"srun"','srun','0x08000000' );
vendorBits[6] = new bitArray('"serr"','serr','0x04000000' );
vendorBits[7] = new bitArray('"tnav"','tnav','0x02000000' );
vendorBits[8] = new bitArray('"lors"','lors','0x01000000' );
vendorBits[9] = new bitArray('"rors"','rors','0x00800000' );
vendorBits[10] = new bitArray('"udos"','udos','0x00400000' );

// used in GetFileInfo()
fileinfoBits[1] = new bitArray('"ptyp"','ptyp','0x80000000' );
fileinfoBits[2] = new bitArray('"piav"','piav','0x40000000' );
fileinfoBits[3] = new bitArray('"ipcm"','ipcm','0x20000000' );
fileinfoBits[4] = new bitArray('"piwm"','piwm','0x10000000' );
fileinfoBits[5] = new bitArray('"prmd"','prmd','0x08000000' );
fileinfoBits[6] = new bitArray('"ped1"','ped1','0x04000000' );
fileinfoBits[7] = new bitArray('"ped2"','ped2','0x02000000' );
